<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>继承</title>
    <style>
        div {

            color: red;
        }
    </style>
</head>

<body>
    <div>
        盒子
        <p>段落</p>
    </div>

    <div>
        盒子2
        <a href="">百度</a>
    </div>
</body>

</html>